package com.ctrip.study.refactor.extractMethod;

import static org.junit.Assert.*;

import org.junit.Test;

import com.google.common.collect.Lists;

public class CustomerTest {

	@Test
	public void testPrintOwing() {
		Customer c1 = new Customer("wangao");
		Order o1 = new Order(10);
		Order o2 = new Order(20);
		c1.set_orders(Lists.newArrayList(o1, o2));
		c1.printOwing(5);
	}

}
